import {Component, Input, OnInit} from '@angular/core';
import {RentBannerComponent} from '../rent-banner/rent-banner.component';
class ItemModel {
  img: String;
}
@Component({
  selector: 'app-full-banner',
  templateUrl: './full-banner.component.html',
  styleUrls: ['./full-banner.component.scss']
})
export class FullBannerComponent implements OnInit {
  static defaultItems = [
    {
      img: 'assets/images/home-view/banner/home-view-banner04.jpg'
    },
    {
      img: 'assets/images/home-view/banner/home-view-banner02.jpg'
    },
    {
      img: 'assets/images/home-view/banner/home-view-banner03.jpg'
    },
    {
      img: 'assets/images/home-view/banner/home-view-banner01.jpg'
    }
  ];
  @Input() items: Array<ItemModel> = FullBannerComponent .defaultItems;
    constructor() { }

  ngOnInit() {
  }

}
